package com.joyoung.datarespository;

import com.joyoung.cons.BaseResult;
import com.joyoung.sdk.info.UserConfirmData;

import java.util.List;
import java.util.Map;

import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.Url;
import rx.Observable;

/**
 * Created by Administrator on 2017\7\18 0018.
 */

public interface RmsJoyoungApi {

    @POST
    Observable<BaseResult<Object>> delCollectById(
            @Url String url, @Query("param") String param);

    @POST
    Observable<BaseResult<UserConfirmData>> login(
            @Url String url, @Query("param") String param);

    @POST
    Observable<BaseResult<UserConfirmData>> mobileLogin(
            @Url String url, @Query("param") String param);

    @POST
    Observable<BaseResult<Object>> addDiyMenu(
            @Url String url, @Query("param") String param);

    @POST
    Observable<BaseResult<Map<String,String>>> queryCircle(@Url String url, @Query("param") String param);

}


